package com.wanmait.baohan.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class BookingTicketApplication implements Serializable {

    private List<TicketApplicationDetail> ticketApplicationDetails;

    public List<TicketApplicationDetail> getTicketApplicationDetails() {
        return ticketApplicationDetails;
    }

    public void setTicketApplicationDetails(List<TicketApplicationDetail> ticketApplicationDetails) {
        this.ticketApplicationDetails = ticketApplicationDetails;
    }

    private Integer id;

    /**
	* 申请编号
	*/
    private String numbering;

    /**
	* 所属申请表
	*/
    private Integer applicationId;

    /**
	* 申请人
	*/
    private Staff staff;

    /**
	* 申请表类型
	*/
    private Integer applicationType;

    /**
	* 0不通过 1申请中 2已完成  3未申请
	*/
    private String state;

    /**
	* 申请时间
	*/
    private Date addTime;

    /**
	* 备注
	*/
    private String remark;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumbering() {
        return numbering;
    }

    public void setNumbering(String numbering) {
        this.numbering = numbering;
    }

    public Integer getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(Integer applicationId) {
        this.applicationId = applicationId;
    }

    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }

    public Integer getApplicationType() {
        return applicationType;
    }

    public void setApplicationType(Integer applicationType) {
        this.applicationType = applicationType;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", numbering=").append(numbering);
        sb.append(", applicationId=").append(applicationId);
        sb.append(", staffId=").append(staff.getId());
        sb.append(", applicationType=").append(applicationType);
        sb.append(", state=").append(state);
        sb.append(", addTime=").append(addTime);
        sb.append(", remark=").append(remark);
        sb.append(", list=").append(ticketApplicationDetails.toString());
        sb.append("]");
        return sb.toString();
    }
}